package com.mytools.common.pattern.decorator01;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;

/**
 * @author LJK
 * @description
 * @date 2025/2/12
 */
public class main {
    public static void main(String[] args) {
        Collection<Object> objects = Collections.synchronizedCollection(new ArrayList<>());
        if (objects.isEmpty()) {
            objects.add(1);
        }
    }
}
